package com.lanyun.auth.basic.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.lanyun.core.encrypt.handler.EncryptTypeHandler;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.io.Serializable;

/**
 * (AuthUser)实体类
 *
 * @author makejava
 * @since 2025-03-11 12:06:50
 */
@Data
@TableName(value = "auth_user", autoResultMap = true)
@AllArgsConstructor
@NoArgsConstructor
public class AuthUser implements Serializable {
    private static final long serialVersionUID = -11648264050280610L;

    private Long id;

    private String username;

    private String nickname;

    @TableField(typeHandler = EncryptTypeHandler.class)
    private String password;

    private String email;

    private String phone;

    private String createdBy;

    private Date createdTime;

    private String updatedBy;

    private Date updatedTime;

    private String isDeleted;
}

